package com.han.demo5;

/**
 * @ClassName Agent
 * @Description 经纪人类
 * @Author duoduo Han
 * @Date 2024/6/2 23:05
 */
public class Agent {
    private Star star;
    private Fans fans;
    private Company company;

    public void setStar(Star star) {
        this.star = star;
    }

    public void setFans(Fans fans) {
        this.fans = fans;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public void meeting() {
        System.out.println(fans.getName() + "和" + star.getName() + "见面了");
    }

    public void business() {
        System.out.println(fans.getName() + "向" + star.getName() + "发起了商业合作");
    }


}
